var pageUserLogin = require('../lib/pageUserLogin');
var pageIndex = require('../lib/pageIndex') ;
var pageReportSucc = require('../lib/pageReportSucc') ;
var pageReport = require('../lib/pageReport');
var pageArticleList = require('../lib/pageArticleList');

module.exports = function(app){
    app.all('/',pageUserLogin.index);
    app.all('/getTitle',pageReport.getTitle);
    app.all('/login',pageUserLogin.login);
    app.all("*",pageUserLogin.checkLogin);
    app.all('/index',pageIndex.index);
    app.all('/report',pageReport.index);
    app.all('/reportArticle',pageReport.reportArticle);
    app.all('/reportSucc',pageReportSucc.index);
    app.all('/article1',pageArticleList.article1);
    app.all('/article2',pageArticleList.article2);
    app.all('/articleContent1',pageReport.getContent);
    app.all('/articleContent2',pageArticleList.articlen);
}